home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / networking / otstreamlogviewer / streamlogresources.h < prev   
Encoding:
C/C++ Source or Header  |  2000-06-23  |  2.4 KB  |  103 lines

  1. /*
  2.     File:        StreamLogResources.h
  3.  
  4.     Contains:    Header file containing application resource definitions.
  5.  
  6.     Written by: Quinn "The Eskimo!"    
  7.  
  8.     Copyright:    Copyright © 1998-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 7/23/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  20.                 
  21.  
  22. */
  23.  
  24. /////////////////////////////////////////////////////////////////////
  25.  
  26. enum {
  27.  
  28.     // MBAR
  29.     
  30.     rMenuBar = 128,
  31.         mApple = 128,
  32.             iAbout = 1,
  33.         mFile = 129,
  34.             iClose = 1,
  35.             iShowHideLogWindow = 2,
  36.             iStartStopLogging = 3,
  37.             iScrollWhileLogging = 4,
  38.             iQuit = 5,
  39.         mEdit = 130,
  40.             iUndo = 1,
  41.             // - = 2,
  42.             iCut = 3,
  43.             iCopy = 4,
  44.             iPaste = 5,
  45.             iClear = 6,
  46.             iSelectAll = 7,
  47.         
  48.         mTraceLevel = 150,
  49.             iAll = 1,
  50.             iLevelOffset = 3,
  51.     
  52.     // DLOG
  53.     
  54.     rMainDialog = 128,
  55.         ditStart = 1,                // push button
  56.         ditStop = 2,                // push button
  57.         ditLogErrors = 3,            // checkbox
  58.         ditLogTraces = 4,            // checkbox
  59.         ditAllTraces = 5,            // radio
  60.         ditTracesMatching = 6,        // radio
  61.         ditSetupFilter = 7,            // push button
  62.         ditLogToFile = 8,            // checkbox
  63.         ditLoggedCount = 9,            // static text
  64.         ditDroppedCount = 10,        // static text
  65.         ditTraceLevel = 11,            // popup
  66.         ditLogEntryList = 12,        // user item
  67.     rFilterDialog = 129,
  68.         // ditOK = 1,                    // push botton
  69.         // ditCancel = 2,                // push botton
  70.         ditDefault = 3,                // default user item
  71.         ditAllModules = 4,            // radio
  72.         ditChosenModules = 5,        // radio
  73.         ditModuleID = 6,            // static text
  74.         ditAllStreams = 7,            // radio
  75.         ditChosenStreams = 8,        // radio
  76.         ditStreamID = 9,            // static text
  77.         
  78.     // ALRT
  79.     
  80.     rConfirmStopAlert = 256,
  81.     rAboutBox = 257,
  82.     rErrorAlert = 258,
  83.     
  84.     // STR#
  85.     
  86.     rMiscStrings = 128,
  87.         strShowLogWindow = 1,
  88.         strHideLogWindow = 2,
  89.         strStartLogging = 3,
  90.         strStopLogging = 4,
  91.         strLogFileName = 5,
  92.     
  93.     // LDEF
  94.     
  95.     rSimpleLDEF = 128,
  96.     
  97.     // Ners
  98.     
  99.     rErrorTable = 128,
  100.     
  101.     dummy = 666                        // just so I don't have to worry about the trailing commas
  102. };
  103.